package com.sxkf.template.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sxkf.template.entity.Post;
import com.sxkf.template.entity.PostCollect;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 帖子收藏 Mapper 接口
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-17 15:24:12
 */
@Mapper
public interface PostCollectMapper extends BaseMapper<PostCollect> {

    Page<Post> pageByType(Page<Post> page, String userId, String type);
}
